﻿<%@ Page Language="C#" MasterPageFile="~/RCSP.Master" AutoEventWireup="true" CodeBehind="MemberRegister.aspx.cs"
    Inherits="RCSP.FrontEnd.Pages.MemberRegister" Title="Member Register Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script src="../Scripts/jquery.numeric.js" type="text/javascript"></script>

    <script src="../Scripts/glDatePicker.min.js" type="text/javascript"></script>

    <link href="../Content/MemberRegister.css" type="text/css" rel="stylesheet" />
    <link href="../Content/glDatePicker/glDatePicker.flatwhite.css" rel="stylesheet" type="text/css" />
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPHContentUp" runat="server">
    <div class="memberRegisterWrap">
        <div class="leftColumn">
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label1" runat="server" Text="会員番号"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtMemberNo" runat="server" Width="125px" CssClass="txt_active"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" Text="検索" CssClass="button" OnClick="btnSearch_Click" />
                    &nbsp; <a href="#"><</a> &nbsp; <a href="#">></a> &nbsp;
                    <asp:Button ID="btnDelete" runat="server" Text="削除" CssClass="button" />
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label2" runat="server" Text="カナ名"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtKanaName" runat="server" Text="" CssClass="textbox"></asp:TextBox>
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label3" runat="server" Text="氏　名"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtTitle" runat="server" Text="" CssClass="textbox"></asp:TextBox>
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label4" runat="server" Text="性　別"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:RadioButtonList ID="rbtnMaleFemale" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0" Text="男性" Selected="True"></asp:ListItem>
                        <asp:ListItem Value="1" Text="女性"></asp:ListItem>
                    </asp:RadioButtonList>
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label5" runat="server" Text="生年月日"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:DropDownList ID="ddlPeriod" runat="server">
                        <asp:ListItem Value="0" Text=" "></asp:ListItem>
                        <asp:ListItem Value="1" Text="明治"></asp:ListItem>
                        <asp:ListItem Value="2" Text="大正"></asp:ListItem>
                        <asp:ListItem Value="3" Text="昭和"></asp:ListItem>
                        <asp:ListItem Value="4" Text="平成"></asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;
                    <asp:TextBox ID="txtAge" runat="server" CssClass="textbox25"></asp:TextBox>
                    <asp:Label runat="server" Text="年"></asp:Label>
                    <asp:TextBox ID="txtMonth" runat="server" CssClass="textbox25"></asp:TextBox>
                    <asp:Label ID="Label6" runat="server" Text="月"></asp:Label>
                    <asp:TextBox ID="txtDate" runat="server" CssClass="textbox25"></asp:TextBox>
                    <asp:Label ID="Label7" runat="server" Text="日"></asp:Label>
                    <asp:TextBox ID="txtYear" runat="server" CssClass="textbox25"></asp:TextBox>
                    <asp:Label ID="Label8" runat="server" Text="歳"></asp:Label>
                </div>
            </div>
            <div class="divItemDate">
                <asp:TextBox runat="server" ID="txtBirthDay" Width="125px"></asp:TextBox>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label9" runat="server" Text="郵便番号"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtZipCode" runat="server" CssClass="textbox"></asp:TextBox>
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label10" runat="server" Text="住　所"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtLivingPlant" runat="server" CssClass="textbox"></asp:TextBox>
                </div>
            </div>
            <div class="divItemDate">
                <asp:TextBox ID="txtAdress" runat="server" CssClass="textbox"></asp:TextBox>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label11" runat="server" Text="電話番号"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtPhoneNumber" runat="server" CssClass="textbox"></asp:TextBox>
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label12" runat="server" Text="住所２"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:RadioButtonList ID="rbtnPersonType" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0" Text="勤務先" Selected="True"></asp:ListItem>
                        <asp:ListItem Value="1" Text="保護者"></asp:ListItem>
                    </asp:RadioButtonList>
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label13" runat="server" Text="住所２名前"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtNameAddress" runat="server" CssClass="textbox"></asp:TextBox>
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label14" runat="server" Text="部・課"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtDepartmentDevision" runat="server" CssClass="textbox"></asp:TextBox>
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label15" runat="server" Text="責任者名"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtChiefName" runat="server" CssClass="textbox"></asp:TextBox>
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label16" runat="server" Text="郵便番号"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtZipCodeDisplay" runat="server" CssClass="textbox"></asp:TextBox>
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label17" runat="server" Text="住 所"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtLivingPlantShow" runat="server" CssClass="textbox"></asp:TextBox>
                </div>
            </div>
            <div class="divItemDate">
                <asp:TextBox ID="txtAdressShow" runat="server" CssClass="textbox"></asp:TextBox>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label18" runat="server" Text="電話番号"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtPhoneNumberShow" runat="server" CssClass="textbox"></asp:TextBox>
                </div>
            </div>
            <div class="divItem">
                <div class="divItemLeft">
                    <asp:Label ID="Label19" runat="server" Text="地区コード"></asp:Label>
                </div>
                <div class="divItemRight">
                    <asp:TextBox ID="txtSectionCode" runat="server" CssClass="textbox50" ></asp:TextBox>
                    <asp:TextBox ID="txtCity" runat="server" CssClass="textbox210"></asp:TextBox>
                </div>
            </div>
            <div class="divButtonReg">
                <asp:Button runat="server" ID="btnPaymentInquiry" Text="入金照会" CssClass="button" />
                <asp:Button runat="server" ID="btnIncidental" Text="附帯情報" CssClass="buttonPadding" />
                <asp:Button runat="server" ID="btnSave" Text="保存" CssClass="buttonPadding" OnClick="btnSave_Click" />
            </div>
        </div>
        <div class="rightColumn">
            <div class="column1">
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label20" runat="server" Text="会員区分"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox ID="txtMembershipClarify" runat="server" CssClass="textbox50"></asp:TextBox>
                        <asp:TextBox ID="txtMembershipType" runat="server" CssClass="textbox210"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label21" runat="server" Text="会員ランク"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:DropDownList CssClass="width150" ID="ddlMemberRank" runat="server">
                            <asp:ListItem Text="" Value="0"></asp:ListItem>
                            <asp:ListItem Text="通常会員" Value="10"></asp:ListItem>
                            <asp:ListItem Text="ゴールド会員" Value="20"></asp:ListItem>
                            <asp:ListItem Text="ビジター" Value="99"></asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label22" runat="server" Text="記念品渡し"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:DropDownList CssClass="width150" ID="ddlSouvenirPass" runat="server">
                            <asp:ListItem Text="" Value="0"></asp:ListItem>
                            <asp:ListItem Text="100回記念" Value="10"></asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label23" runat="server" Text="ＵＧ区分"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:DropDownList CssClass="width150" ID="ddlUG" runat="server">
                            <asp:ListItem Text="" Value="0"></asp:ListItem>
                            <asp:ListItem Text="UG" Value="10"></asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label24" runat="server" Text="備考区分４"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:DropDownList CssClass="width150" ID="ddlRemarksCate4" runat="server">
                            <asp:ListItem Text="0" Value="0"></asp:ListItem>
                            <asp:ListItem Text="10" Value="10"></asp:ListItem>
                            <asp:ListItem Text="20" Value="20"></asp:ListItem>
                            <asp:ListItem Text="30" Value="30"></asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label25" runat="server" Text="備考区分５"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:DropDownList CssClass="width150" ID="ddlRemarksCate5" runat="server">
                            <asp:ListItem Text="0" Value="0"></asp:ListItem>
                            <asp:ListItem Text="10" Value="10"></asp:ListItem>
                            <asp:ListItem Text="20" Value="20"></asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label26" runat="server" Text="かかりつけ医"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox ID="txtPrimaryCareDoctor" runat="server" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label27" runat="server" Text="連絡先"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox ID="txtContactInfo" runat="server" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divCaption">
                    <asp:Label runat="server" Text="備考"></asp:Label>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label28" runat="server" Text="備考1"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox ID="txtRemark1" runat="server" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label30" runat="server" Text="備考2"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox ID="txtRemark2" runat="server" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label31" runat="server" Text="備考3"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox ID="txtRemark3" runat="server" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label32" runat="server" Text="備考4"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox ID="txtRemark4" runat="server" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label33" runat="server" Text="備考5"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox ID="txtRemark5" runat="server" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divRadio">
                    <div class="radio">
                        <asp:Label runat="server" Text="請求区分"></asp:Label><br />
                        <asp:RadioButtonList ID="rbtnClaismDivision" runat="server" RepeatDirection="Vertical">
                            <asp:ListItem Value="0" Text="請求する" Selected="True"></asp:ListItem>
                            <asp:ListItem Value="1" Text="請求しない"></asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                    <div class="radio" style="margin-left: 20px;">
                        <asp:Label ID="Label29" runat="server" Text="支払方法"></asp:Label><br />
                        <asp:RadioButtonList ID="rbtnPaymentMethod" runat="server" RepeatDirection="Vertical">
                            <asp:ListItem Value="0" Text="自動振替" Selected="True"></asp:ListItem>
                            <asp:ListItem Value="1" Text="振　込"></asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                    <div class="radio">
                        <asp:Label ID="Label34" runat="server" Text="支払区分"></asp:Label><br />
                        <asp:RadioButtonList ID="rbtnClaimType" runat="server" RepeatDirection="Vertical">
                            <asp:ListItem Text="月　払" Value="0" Selected="True"></asp:ListItem>
                            <asp:ListItem Text="年　払" Value="1"></asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                </div>
                <div class="divRadio">
                    <div class="monthYear">
                        <asp:Label runat="server" Text="年払請求月"></asp:Label>
                        <asp:TextBox runat="server" ID="txtYearMonthPayment" CssClass="textbox50"></asp:TextBox>
                    </div>
                    <div class="radio" style="margin-left: 20px;">
                        <asp:Label runat="server" Text="口数"></asp:Label>
                        &nbsp;
                        <asp:CheckBox ID="chkPersonDependence" runat="server" />
                        <%--<asp:TextBox runat="server" ID="txtPersonDependence" Width="20px"></asp:TextBox>
                        <asp:Label runat="server" Text="口"></asp:Label>--%>
                    </div>
                </div>
                <div class="gridviewCaption">
                    <asp:Label runat="server" Text="契約ロッカー"></asp:Label>
                </div>
                <div class="divGridview">
                    <asp:GridView runat="server" ID="gvContractLocker" AutoGenerateColumns="false" Caption=""
                        CaptionAlign="Top" CssClass="gridview">
                        <Columns>
                            <asp:BoundField DataField="Number" HeaderText="番号" />
                            <asp:BoundField DataField="AvailableStartDate" HeaderText="利用開始日" />
                            <asp:BoundField DataField="PaymentDivision" HeaderText="支払区分" />
                            <asp:BoundField DataField="BillingMonth" HeaderText="請求月" />
                        </Columns>
                    </asp:GridView>
                </div>
            </div>
            <div class="column2">
                <div class="divItem" style="height: 80px">
                    <div class="divItemLeft">
                        <img runat="server" id="imgAvatar" alt="画像" src="" height="75" class="avartar" />
                    </div>
                    <div class="divItemRight">
                        <div class="left">
                            <asp:Label ID="Label37" runat="server" Text="氏名"></asp:Label>
                        </div>
                        <div class="right">
                            <asp:TextBox runat="server" ID="txtName" Width="190px"></asp:TextBox>
                        </div>
                    </div>
                    <div class="divItemRight">
                        <div class="left">
                            <asp:Label ID="Label35" runat="server" Text="更新日"></asp:Label>
                        </div>
                        <div class="right">
                            <asp:TextBox runat="server" ID="txtUpdatedDate" Width="190px"></asp:TextBox>
                        </div>
                    </div>
                    <div class="divItemRight">
                        <div class="left">
                            <asp:Label ID="Label36" runat="server" Text="ファイル"></asp:Label>
                        </div>
                        <div class="right">
                            <asp:Label runat="server" ID="lblFileName" Width="170px"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="clearBoth">
                </div>
                <div class="clearBoth">
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label runat="server" Text="募集時期"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtApplicationPeriod" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label38" runat="server" Text="前回利用日"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtPreviousUseDay" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label39" runat="server" Text="利用開始日"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtAvailableStartDate" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label40" runat="server" Text="開始年月"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtDateOfFirst" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label41" runat="server" Text="登録日"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtDateAdded" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label42" runat="server" Text="変更処理日"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtChangeProcessDate" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label43" runat="server" Text="退会日"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtWithDrawDate" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label44" runat="server" Text="使用停止理由"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtReasonStop" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label45" runat="server" Text="請求先"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:RadioButtonList ID="rbtnBillingType" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Text="本人" Selected="True"></asp:ListItem>
                            <asp:ListItem Value="1" Text="保護者"></asp:ListItem>
                            <asp:ListItem Value="2" Text="勤務先"></asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                </div>
                <div class="divCaption">
                    <asp:Label ID="Label46" runat="server" Text="備考"></asp:Label>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label47" runat="server" Text="ＤＭ送付先"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:RadioButtonList ID="rbtnDM" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Text="自宅" Selected="True"></asp:ListItem>
                            <asp:ListItem Value="1" Text="勤務先"></asp:ListItem>
                            <asp:ListItem Value="2" Text="無し"></asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label48" runat="server" Text="親会員"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtPrimaryMember" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Button runat="server" ID="btnCopy" Text="親会員の口座をコピー" CssClass="button" />
                    </div>
                    <div class="divItemRight">
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label runat="server" Text="銀　行"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtBankNo" CssClass="textbox50"></asp:TextBox>
                        <asp:TextBox runat="server" ID="txtBank" CssClass="textbox210"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label49" runat="server" Text="支　店"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtBranchNo" CssClass="textbox50"></asp:TextBox>
                        <asp:TextBox runat="server" ID="txtBranch" CssClass="textbox210"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label50" runat="server" Text="預金種目"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:RadioButtonList ID="rbtnDeposit" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Text="普通" Selected="True"></asp:ListItem>
                            <asp:ListItem Value="1" Text="当座"></asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label51" runat="server" Text="口座番号"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtAccountNum" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
                <div class="divItem">
                    <div class="divItemLeft">
                        <asp:Label ID="Label52" runat="server" Text="口座名義"></asp:Label>
                    </div>
                    <div class="divItemRight">
                        <asp:TextBox runat="server" ID="txtAccountHolder" CssClass="textbox"></asp:TextBox>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript">
        $(document).ready(function() {
            $("#<%= txtMemberNo.ClientID %>").numeric();
            $("#<%= txtAge.ClientID %>").numeric();
            $("#<%= txtMonth.ClientID %>").numeric();
            $("#<%= txtDate.ClientID %>").numeric();
            $("#<%= txtYear.ClientID %>").numeric();
            $("#<%= txtSectionCode.ClientID %>").numeric();
            $("#<%= txtMembershipClarify.ClientID %>").numeric();
            $("#<%= txtYearMonthPayment.ClientID %>").numeric();
            $("#<%= txtBankNo.ClientID %>").numeric();
            $("#<%= txtBranchNo.ClientID %>").numeric();
            
            toDatePicker("#<%= txtUpdatedDate.ClientID %>");
            toDatePicker("#<%= txtAvailableStartDate.ClientID %>");
            toDatePicker("#<%= txtDateOfFirst.ClientID %>");
            toDatePicker("#<%= txtDateAdded.ClientID %>");
            toDatePicker("#<%= txtChangeProcessDate.ClientID %>");
            toDatePicker("#<%= txtWithDrawDate.ClientID %>");
        });

        function formatDate(el, cell, date) {
            el.val(date.getFullYear() + '/' + getMonth(date) + '/' + date.getDate());
        }

        function getMonth(date) {
            return date.getMonth() + 1;
        }

        function toDatePicker(object) {
            $(object).glDatePicker(
                {
                    cssName: 'flatwhite',
                    onClick: (function(el, cell, date) {
                        formatDate(el, cell, date);
                    })
                });
        }
    </script>

</asp:Content>
